package cn.iocoder.yudao.module.reading.controller.app.community.vo.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 频控检查 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 频控检查 Response VO")
@Data
public class LimitCheckRespVO {

    @Schema(description = "是否可以操作", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean canOperate;

    @Schema(description = "剩余次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "5")
    private Integer remainingCount;

    @Schema(description = "重置时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-01-02T00:00:00")
    private LocalDateTime resetTime;

    @Schema(description = "提示信息", example = "今日发帖次数已达上限")
    private String message;

}
